<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改个人信息</title>
</head>
<body>
头像：<p><img src="http://127.0.0.1:8000/media/{{ user.avatar }}" alt="" width="40"></p>
用户名：{{ user.username }}
<h3>上传头像</h3>
<form method="post" action="/user/people" enctype="multipart/form-data">
    <input type="file" name="myphoto"/><br>
    <input type="submit" value="上传">
</form>
</body>
</html>
